<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
		<div class="box-content col-sm-10">
				<h4 class="page-header">邮件编写</h4>
				<form class="form-horizontal" role="form" action="#" name="name">
					<div class="row form-group">
						<label class="col-sm-2 control-label">发件人：</label>
						<c:forEach var="emp" items="${employee }">
						<c:if test="${messagercpfecthId.receiverId==emp.id }">
						${emp.name}
						</c:if>
						</c:forEach>
					</div>
						
					<div class="form-group">
						<label class="col-sm-2 control-label">标题</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" placeholder="标题"
								data-toggle="tooltip" data-placement="bottom"
								title="Tooltip for name" name="title" value="${messagefecthId.title}" readonly="readonly">
						</div>
						<div class="col-sm-2 control-label"></div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label" for="form-styles">内容</label>
						<div class="col-sm-10">
							<textarea name="content" class="form-control" rows="5" id="wysiwig_simple" readonly="readonly">${messagefecthId.content}</textarea>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">重要程度：</label>
						<div class="col-sm-3">
							<c:if test="${messagefecthId.level==1}">普通</c:if>
							<c:if test="${messagefecthId.level==2 }">重要</c:if>
							<c:if test="${messagefecthId.level==3}">紧急</c:if>
						</div>
					</div>
					<div class="clearfix"></div>
					<div class="form-group">
						
						<div class="col-sm-4">
							<button type="button" class="btn btn-warning btn-label-left" onclick="saveAction()">
								<span><i class="fa fa-clock-o"></i></span> 关闭
							</button>
						</div>
						<div class="col-sm-4">
							<button type="button" class="btn btn-primary btn-label-left" onclick="addAction()">
								<span><i class="fa fa-clock-o"></i></span> 回复
							</button>
						</div>
					</div>
				</form>
			</div>